

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>${Inter.printOut('Show area',session.language)}</title>
    </head>
    <body>
        <div class="undernav">
            <span class="menuButton"><g:link class="list" action="list">${Inter.printOut('Area list',session.language)}</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">${Inter.printOut('New area',session.language)}</g:link></span>
        </div>
        <div class="body">
            <h1>${Inter.printOut('Show area',session.language)}</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Container',session.language)}:</td>
                            
                            <td valign="top" class="value"><g:link controller="container" action="show" id="${areaInstance?.container?.id}">${areaInstance?.container?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Courses',session.language)}:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="c" in="${areaInstance.courses}">
                                    <li><g:link controller="course" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Employed',session.language)}:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="e" in="${areaInstance.employed}">
                                    <li><g:link controller="employee" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Area id',session.language)}:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:areaInstance, field:'areaId')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Name',session.language)}:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:areaInstance, field:'name')}</td>
                            
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Projects',session.language)}:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="p" in="${areaInstance.projects}">
                                    <li><g:link controller="project" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">${Inter.printOut('Type',session.language)}:</td>
                            
                            <td valign="top" class="value"><g:link controller="type" action="show" id="${areaInstance?.type?.id}">${areaInstance?.type?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name">Tabs:</td>

                            <td valign="top" class="value">${fieldValue(bean:areaInstance, field:'tabs')}</td>

                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <input type="hidden" name="id" value="${areaInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" value="${Inter.printOut('Edit',session.language)}" action="Edit" /></span>
                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${Inter.printOut('Sure',session.language)}');" value="${Inter.printOut('Delete',session.language)}" action="Delete"/></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
